ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / PrintDialog Method / PrintDialog(PrinterSettings,Int32[],Boolean) Method
The printer settings to use.
The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
Indicates whether to show print progress.

In This Topic
    PrintDialog(PrinterSettings,Int32[],Boolean) Method
    In This Topic
    Shows the standard print dialog, allowing the user to print the current document.
    Syntax
    'Declaration
     
    Public Overloads Function PrintDialog( _
       ByVal printerSettings As System.Drawing.Printing.PrinterSettings, _
       ByVal selectedPageNumbers() As System.Integer, _
       ByVal showProgress As System.Boolean _
    ) As System.Boolean
    public System.bool PrintDialog( 
       System.Drawing.Printing.PrinterSettings printerSettings,
       System.int[] selectedPageNumbers,
       System.bool showProgress
    )

    Parameters

    printerSettings
    The printer settings to use.
    selectedPageNumbers
    The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
    showProgress
    Indicates whether to show print progress.

    Return Value

    true if the document was printed, false otherwise.
    Remarks
    This method is a shortcut to the corresponding PrintDialog(...) method on the C1Document property of the current report. The report will be rendered if it was not rendered yet.
    See Also